Skip to content

Install docs dependencies with uv sync on Read the Docs - #254

Merged
adamlogan73 merged 1 commit into
mainfrom
chore/rtd-uv-sync
Dec 3, 2026
Merged

adamlogan73 merged 1 commit into
mainfrom
chore/rtd-uv-sync

Conversation

@adamlogan73

Copy link
Copy Markdown
Collaborator

The previous uv export | uv pip install -r - pipe hid resolution failures. In #253, export failed (nimax 1.2.0 wasn't on the index yet), install got empty input and succeeded, and the build broke later with No module named 'sphinx_autodoc_typehints'.

This switches to Read the Docs' documented uv setup: install uv through asdf, create the virtualenv with uv venv, and uv sync --group docs into it. A resolution error now fails the install step with the real message.

uv.lock is gitignored, so there's no --frozen; dependencies still resolve fresh on every build, as before.

🤖 Generated with Claude Code

The previous `uv export | uv pip install -r -` pipe hid resolution
failures: export errored, install received empty input and succeeded,
and the build failed later on a missing Sphinx extension. Use Read the
Docs' documented uv pattern instead, syncing straight into its
virtualenv so a resolution error fails the install step.
@adamlogan73
adamlogan73 merged commit 1bb4302 into main Dec 3, 2026
1 check passed
@adamlogan73
adamlogan73 deleted the chore/rtd-uv-sync branch December 3, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant